Fix 'format-seconds' when all values are zero and %z is used
authorEli Zaretskii <eliz@gnu.org>
Wed, 10 Apr 2024 14:00:34 +0000 (17:00 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 10 Apr 2024 14:00:34 +0000 (17:00 +0300)
commit33516970808a6c50709325edfc1af125c2b2c401
tree0ebe7996ed99ff96d19653d13718a363853a23ec
parentf4711811298b320ea6875e635a7346f3bc23a603
Fix 'format-seconds' when all values are zero and %z is used

* lisp/calendar/time-date.el (format-seconds): Fix all-zero time.

* test/lisp/calendar/time-date-tests.el (test-format-seconds): Add
two new tests.  (Bug#70322)
lisp/calendar/time-date.el
test/lisp/calendar/time-date-tests.el